import type { CategoryListResponse } from '@/types/Category'
import { request } from '@/utils/request'

/**
 * 分类列表-小程序
 * GET
 * /category/top
 */
export const getCategoryListAPI = () => {
  return request<CategoryListResponse[]>('/category/top')
}
